NAME := co_master

$(NAME)_MBINS_TYPE := kernel
$(NAME)_VERSION := 1.0.0
$(NAME)_SUMMARY := CANopen master


$(NAME)_SOURCES += co_master_config.c co_master_api.c co_master_core.c


#default gcc
ifeq ($(COMPILER),)
$(NAME)_CFLAGS      += -Wall -Werror
else ifeq ($(COMPILER),gcc)
$(NAME)_CFLAGS      += -Wall -Werror
else ifeq ($(COMPILER),armcc)
GLOBAL_DEFINES      += __BSD_VISIBLE
endif

$(NAME)_COMPONENTS += canopen

$(NAME)_INCLUDES     += ./

GLOBAL_DEFINES      += AOS_COMP_CO_MASTER

